package com.jjiang.bbmall.product.vo;

import com.jjiang.bbmall.product.entity.SkuImagesEntity;
import com.jjiang.bbmall.product.entity.SkuInfoEntity;
import com.jjiang.bbmall.product.entity.SpuInfoDescEntity;
import com.jjiang.bbmall.product.to.SeckillSkuRedisTo;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    // 1.获取sku基本信息：pms_sku_info
    private SkuInfoEntity skuInfoEntity;

    Boolean hasStock = Boolean.TRUE;

    // 2.获取sku图片信息：pms_sku_images
    private List<SkuImagesEntity> images;

    // 3.获取spu销售属性的组合
    private List<ItemSaleAttrsVo> saleAttrs;

    // 4.获取spu的介绍
    private SpuInfoDescEntity spuInfoDescEntity;

    // 5.获取spu规格参数信息
    private List<SpuItemGroupAttrsVo> groupAttrs;

    // 6.秒杀信息
    private SeckillSkuRedisTo seckillInfo;

}
